package com.fs.ibox_h.dao;

import com.fs.ibox_h.pojo.Withdrawa;
import com.fs.ibox_h.vo.Condition;
import com.fs.ibox_h.vo.Page;

import java.util.List;

public interface withdrawalDao {
    List<Withdrawa> selectByCondition(int currentPage, int pageSize, Condition condition);

    /**
     * 根据条件查询记录数
     *
     * @param condition 条件
     * @return 记录数
     */
    int count(Condition condition);

    int deleteById(int i);

    int updateById(Integer id);
}
